#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from rest_framework import serializers
from thdata import models


class RunningSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.TbFirstRunning
        fields = '__all__'


class THSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.TbFirstTh
        fields = '__all__'


class WattSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.TbFirstWatt
        fields = '__all__'